<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html>
<head>
<html:base /> 
<title><bean:message key="Application.Name"/> ~ <bean:message key="Menu.AcademyHeader"/></title>
<link href="css/formas.css" rel="stylesheet" type="text/css">
<logic:present name="req_msg">
	<script>
		alert("<bean:write name='req_msg'/>");
	</script>
</logic:present>
</head>
<body>
	<% 
	String fuente = request.getParameter("source");
	if( fuente == null ){
		fuente = (String)session.getAttribute("session_source");
	}
	%>
	<table cellpadding="0" cellspacing="0" class="formas">
		<tr>
    	<td>
		  	<table cellpadding="0" cellspacing="0" class="barraNavegacion">
					<tr>
	        	<td><html:link action="../academy_welcome?action=selectAcademy" styleClass="barraNavegacion"><img src="images/icn_liga.gif" border="0">
                      <bean:message key="AcademyWelcome.Init"/>
              </html:link></td>
    			</tr>
		    </table>
		  	<table cellpadding="0" cellspacing="0" class="titulo">
                <tr>
                  
          <td class="iconos_imgs"> <a href="mailto:<bean:message key="Application.mailto"/>"><img src="images/icn_correo.gif" width="18" height="18" border="0"></a> 
          </td>
                  <td class="txt_titulo"><bean:message key="statistics.report"/> <bean:message key="Menu.StatisticReports"/></td>
                </tr>
            </table>
			<table cellpadding="0" cellspacing="2" class="info_formas">
				<tr> 
					<td colspan="3" class="formas-txtInfo">&nbsp;</td>
				</tr>
				<tr> 
					<td class="formas-encabezado"><bean:message key="statistics.reportName"/></td>
					<td class="formas-encabezado">&nbsp;</td>
				</tr>				
				<logic:iterate id="reporte" name="map_reportes" indexId="int_i">
					<tr>
						<td class="formas-backcolor<%= (int_i.intValue()%2==0?"1":"2") %>"><bean:write name="reporte" property="name"/></td>
						<td class="formas-backcolor<%= (int_i.intValue()%2==0?"1":"2") %>"><html:link action="/statistics_browse" name="reporte" property="map_code"><img src="images/icn_liga.gif" width="10" height="7" border="0"></html:link></td>
					</tr>
				</logic:iterate>
			</table>
		  </td>
        </tr>
  </table>  
</body>
</html:html>